package cn.com.api.service;


import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiNewFindOrder;
import cn.com.api.entity.ApiT_order;



@Service
public interface ApiNewFindOrderService {
	

	
	/**
	 * 
	 * @param u_id
	 */
	public long queryUserMoney(String u_id);
	
	/**
	 * 
	 * @param u_id
	 * @param resMoney
	 */
	public void updUserMoney(String u_id, double resMoney);
	
	/**
	 * 
	 * @param apiNewFindOrder
	 * @return
	 */
	public Map<String, Object> confirmOrderPay(ApiNewFindOrder apiNewFindOrder);
	
	
	/**
	 * 
	 * @param rid
	 * @return
	 */
	public Map<String, Object> orderInfo(String rid);
	
	
	/**
	 * 
	 * @param map
	 */
	public Map<String, Object> initOrder(ApiNewFindOrder apiNewFindOrder);
	
	/**
	 * 
	 * @param u_id
	 */
	public void sureOrderInfo(ApiNewFindOrder apiNewFindOrder);

	public List<ApiT_order> getOrdersList(Map<String, Object> param);

	
	
}
